
package com.scalar.chiptrack.adaptor;


public final class ShippedLot
{
    
    private String m_lotNumber          = null;
    private String m_vendorLot          = null; 
    private String m_customerPO         = null;
    private String m_customerSO         = null;
    private String m_invoiceNumber      = null;
    private String m_partNumber         = null;
    private String m_leadCount          = null;
    private String m_packageType        = null;
    private String m_currentLocation    = null;
    private String m_nextLocation       = null;
    private String m_shipDate           = null;
    private String m_shipQty            = null;
    private String m_mawb               = null;
    private String m_hawb               = null;
    private String m_flightNumber       = null;
    private String m_etd                = null;
    private String m_eta                = null;
    private String m_vendorName         = null;
    private String m_processType        = null;
    private String remarks              = null;
    private String waferID              = null;
    private String customerWO           = null;
    private String m_fabLotNumber       = null;
    private String m_shipDieQty         = null;
    private String m_shippingDoc        = null;
    private String m_tester             = null;
    private String m_testProgram        = null;
    private boolean isDropShipment = true;
    private String transactionType      = null;
    private String nextProcess     		= null;
    private String batchingLot     		= null;

    public String getBatchingLot() {
        return batchingLot;
    }

    public void setBatchingLot(String batchingLot) {
        this.batchingLot = batchingLot;
    }

    public String getNextProcess() {
		return nextProcess;
	}

	public void setNextProcess(String nextProcess) {
		this.nextProcess = nextProcess;
	}

	public ShippedLot()
    {

    }

    public ShippedLot(String vendorName, String currentLocation )
    {
        m_vendorName    = vendorName;
        m_currentLocation = currentLocation;
    }
    
    public ShippedLot(String lotNumber,
                        String customerPO,
                        String invoiceNumber,
                        String partNumber,
                        String leadCount,
                        String packageType,
                        String currentLocation,
                        String nextLocation,
                        String shipDate,
                        String shipQty,
                        String mawb,
                        String hawb,
                        String flightNumber,
                        String etd,
                        String eta,
                        String vendorName) {
                            
        m_lotNumber = lotNumber;
        m_customerPO = customerPO;
        m_invoiceNumber = invoiceNumber;
        m_partNumber = partNumber;
        m_leadCount = leadCount;
        m_packageType = packageType;
        m_currentLocation = currentLocation;
        m_nextLocation = nextLocation;
        m_shipDate = shipDate;
        m_shipQty = shipQty;
        m_mawb = mawb;
        m_hawb = hawb;
        m_flightNumber = flightNumber;
        m_etd = etd;
        m_eta = eta;
        m_vendorName = vendorName;
    }


	// BR, June 04, 2004
	public ShippedLot(String lotNumber,						
                        String customerPO,
                        String customerSO,
                        String invoiceNumber,
                        String partNumber,
                        String leadCount,
                        String packageType,
                        String currentLocation,
                        String nextLocation,
                        String shipDate,
                        String shipQty,
                        String mawb,
                        String hawb,
                        String flightNumber,
                        String etd,
                        String eta,
                        String vendorName) {
                            
        m_lotNumber = lotNumber;        
        m_customerPO = customerPO;
        m_customerSO = customerSO;
        m_invoiceNumber = invoiceNumber;
        m_partNumber = partNumber;
        m_leadCount = leadCount;
        m_packageType = packageType;
        m_currentLocation = currentLocation;
        m_nextLocation = nextLocation;
        m_shipDate = shipDate;
        m_shipQty = shipQty;
        m_mawb = mawb;
        m_hawb = hawb;
        m_flightNumber = flightNumber;
        m_etd = etd;
        m_eta = eta;
        m_vendorName = vendorName;
    }

    public String getLotNumber() {
        return m_lotNumber;
    }
    
    public void setLotNumber(String lotNumber){
    	m_lotNumber = lotNumber;
    }
    
    //Added by Sudhakar on 08/05/2004 
    public String getVendorLot() {
    	return m_vendorLot;
    }

    
    public void setVendorLot(String vendorLot) {
    	m_vendorLot = vendorLot;
    }
    
    public String getCustomerPO() {
        return m_customerPO;
    }
    
    public void setCustomerPO(String customerPO){
    	m_customerPO = customerPO;
    }
    
	// BR, June 04, 2004
    public String getCustomerSO() {
        return m_customerSO;
    }
    
    public void setCustomerSO(String customerSO){
    	m_customerSO = customerSO;
    }
    

    public String getInvoiceNumber() {
        return m_invoiceNumber;
    }
    
    public void setInvoiceNumber(String invoiceNumber){
    	m_invoiceNumber = invoiceNumber;
    }
    
    public String getPartNumber() {
        return m_partNumber;
    }
    
    public void setPartNumber(String partNumber){
    	m_partNumber = partNumber;
    }
    
    public String getLeadCount() {
        return m_leadCount;
    }
    
    public void setLeadCount(String leadCount){
    	m_leadCount = leadCount;
    }
    
    public String getPackageType() {
        return m_packageType;
    }
    
    public void setPackageType(String packageType){
    	m_packageType = packageType;
    }
    
    public String getCurrentLocation() {
        return m_currentLocation;
    }
    
    public void setCurrentLocation(String currentLocation){
    	m_currentLocation = currentLocation;
    }
    
    public String getNextLocation() {
        return m_nextLocation;
    }
    
    public void setNextLocation(String nextLocation){
    	m_nextLocation = nextLocation;
    }
    
    public String getShipDate() {
        return m_shipDate;
    }
    
    public void setShipDate(String shipDate){
    	m_shipDate = shipDate;
    }
    
    public String getShipQty() {
        return m_shipQty;
    }
    
    public void setShipQty(String shipQty){
    	m_shipQty = shipQty;
    }
    
    public String getMawb() {
        return m_mawb;
    }
    
    public void setMawb(String mawb){
    	m_mawb = mawb;
    }
    
    public String getHawb() {
        return m_hawb;
    }
    
    public void setHawb(String hawb){
    	m_hawb = hawb;
    }
    
    public String getFlightNumber() {
        return m_flightNumber;
    }
    
    public void setFlightNumber(String flightNumber){
    	m_flightNumber = flightNumber;
    }
    
    public String getEtd() {
        return m_etd;
    }
    
    public void setEtd(String etd){
    	m_etd = etd;
    }
    
    public String getEta() {
        return m_eta;
    }
    
    public void setEta(String eta){
    	m_eta = eta;
    }
    
    public String getVendorName() {
        return m_vendorName;
    }
    
    public void setVendorName(String vendorName){
    	m_vendorName = vendorName;
    }

    public String getProcessType() {
        return m_processType;
    }

    public void setProcessType(String processType){
            m_processType =  processType;
        }

    public boolean isDropShipment() {
        return isDropShipment;
    }

    public void setDorpShipment(boolean dorpShipment) {
        isDropShipment = dorpShipment;
    }

    public String getTransactionType() {
        return transactionType;
    }

    public void setTransactionType(String transactionType) {
        this.transactionType = transactionType;
    }

    public String toString() {
        
        StringBuffer buf = new StringBuffer();

        buf.append ("[Part#: ").append (m_partNumber);
        buf.append ("] [Lot#: ").append (m_lotNumber);
        buf.append ("] [Fab Lot Number: ").append (m_fabLotNumber);
        buf.append ("] [Vendor: ").append (m_vendorName);
        buf.append ("] [Current Location: ").append (m_currentLocation);
        buf.append ("] [Next Location: ").append (m_nextLocation);
        buf.append ("] [Ship Date: ").append (m_shipDate);
        buf.append ("] [Ship Qty: ").append (m_shipQty);
        buf.append ("] [Customer PO#: ").append (m_customerPO);
        buf.append ("] [Customer SO#: ").append (m_customerSO);
        buf.append ("] [Invoice#: ").append (m_invoiceNumber);
        buf.append ("] [MAWB: ").append (m_mawb);
        buf.append ("] [HAWB: ").append (m_hawb);
        buf.append ("] [Flight Info: ").append (m_flightNumber);
        buf.append ("] [ETD: ").append (m_etd);
        buf.append ("] [ETA: ").append (m_eta);
        buf.append ("] [WAFER IDS: ").append (waferID).append ("]");

        return buf.toString();
    }
	

    /**
     * @return String
     */
    public String getRemarks()
    {
        return remarks;
    }

    /**
     * @param string
     */
    public void setRemarks( String string )
    {
        remarks = string;
    }

    public String getWaferID()
    {
        return waferID;
    }

    public void setWaferID( String waferID )
    {
        this.waferID = waferID;
    }

    public String getCustomerWO() {
        return customerWO;
    }

    public void setCustomerWO(String customerWO) {
        this.customerWO = customerWO;
    }

    public String getFabLotNumber() {
        return m_fabLotNumber;
    }

    public void setFabLotNumber(String fabLotNumber) {
        this.m_fabLotNumber = fabLotNumber;
    }

    public String getShipDieQty() {
        return m_shipDieQty;
    }

    public void setShipDieQty(String shipDieQty) {
        this.m_shipDieQty = shipDieQty;
    }

    public String getShippingDoc() {
        return m_shippingDoc;
    }

    public void setShippingDoc(String shippingDoc) {
        this.m_shippingDoc = shippingDoc;
    }

    public String getTester() {
        return m_tester;
    }

    public void setTester(String tester) {
        this.m_tester = tester;
    }

    public String getTestProgram() {
        return m_testProgram;
    }

    public void setTestProgram(String testProgram) {
        this.m_testProgram = testProgram;
    }

}